<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基本设置</title>
<css  href="__PUBLIC__/system/css/right.css" />
<js href="__PUBLIC__/system/js/jquery.js" />
<js href="__PUBLIC__/system/js/system.js" />
<js href="__PUBLIC__/system/js/admin.js" />
<js href="__PUBLIC__/system/js/ajaxfileupload.js" />
</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：产品管理 > 系统列表</div>
			<div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
	</div>
	<form action="{:U('Product/systemctclass')}" method="post"  enctype="multipart/form-data">
	<div class="addnav">
        <span class="navname">系统名称：</span>
        <input class="input127" type="text" name="name">
         <div class="infx blocks">
            <input class="infile" type="file"   name="pic" value="">
            <span class="text_s">上传文件</span>
            </div>
        <input class="submit addnew" name="submit" type="submit" value="添加" />
		<a class="submit fr addnews" href="{:U('Product/productadd',array('case_id'=>$_GET[case_id]))}"  />添加产品</a>
	</div>
	</form>


<!-- ============================================================= -->

<table border="1"  class="table table-hover text-center">
  <tr class="trcolor">
    <td>排序</td>
    <td>系统名称</td>
    <td>系统简述</td>
    <!-- <td>系统等级</td> -->
    <td>系统图片</td>
    <td colspan="2">操作</td>
  </tr>

<!-- ==========================循环开始=================================== -->
<volist name="cates" id="li">  
  <tr>
    <td><input class="orde" type="text" onchange='onid("{$li.id}","sort","store_systematics")' sort_id="{$li.id}"  name="sort" value="{$li.sort}"></td>

    <td class="textleft_lover"><span class="bg_clo"></span><input type="text" onchange='onid("{$li.id}","name","store_systematics")' name_id="{$li.id}"  name="name" value="{$li.name}"></td>


    <td class="textleft_lover"><span class="bg_clo"></span>

<textarea rows="3" onchange='onid("{$li.id}","digest","store_systematics")' digest_id="{$li.id}"  name="name"  cols="20">{$li.digest}</textarea>

  <!--   <input type="text" value="{$li.digest}"> --></td>

    <!-- <td class="color12"></td> -->
<!--     <td><span class="addname">
        <if condition="$li[level] neq 2 "><a href="{:U('Product/adcate',array('id'=>$li[id],'case_id'=>$_GET[case_id]))}">添加子菜单</a></if>
    </span></td> -->
    <td class="color12">
        <div class="fileadd">
            <input type="file"  class="id_photos" num_sql="store_systematics"  data-id ='{$li.id}'  id="id_photos_{$li.id}" name="pic" >
            <img src="{$li.pic}" height="45" width="100" class="pic">
        </div>
    </td>
    <td><span class="addname">
    <a href="{:U('Product/delsystem',array('id'=>$li[id]))}" onclick="return confirm('确定将此记录删除?')" >删除</a></span></td>
  </tr>
</volist>

</table>
<!-- ============================================================= -->

<!-- 提示 -->
<p class="ts"><span class="colorf00">*</span><span class="ts_text">如果要修改系统名称/排序请直接点击文字修改。
  系统不选则为一级系统。</span></p>
</body>
</html>